package com.jrauto.CarAppBackend.entity.vo;

import java.time.LocalDateTime;

/**
 * @author : huiMing
 * Date : 2025年07月28日 14:12
 * @version V1.0
 */
public class UserPublicVO {
    private Integer id;
    private String nickname;
    private String phone;
    private String email;
    private String avatar;
    private String openid;
    private Integer status;
    private Integer role;
    private String memberId;
    private Integer number;
    private LocalDateTime createdAt;

    public UserPublicVO() {
    }

    public UserPublicVO(Integer id, String nickname, String phone, String email, String avatar, String openid, Integer status, Integer role, String memberId, Integer number, LocalDateTime createdAt) {
        this.id = id;
        this.nickname = nickname;
        this.phone = phone;
        this.email = email;
        this.avatar = avatar;
        this.openid = openid;
        this.status = status;
        this.role = role;
        this.memberId = memberId;
        this.number = number;
        this.createdAt = createdAt;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }

    @Override
    public String toString() {
        return "UserPublicVO{" +
                "id=" + id +
                ", nickname='" + nickname + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", avatar='" + avatar + '\'' +
                ", openid='" + openid + '\'' +
                ", status=" + status +
                ", role=" + role +
                ", memberId='" + memberId + '\'' +
                ", number=" + number +
                ", createdAt=" + createdAt +
                '}';
    }
}
